﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Runtime.Serialization;

namespace WCFServiceWebRole1.Models
{
    [DataContract]
    public class TimeSpanUI
    {
        [DataMember]
        public int Hours { get; set; }

        [DataMember]
        public int Minutes { get; set; }

        public TimeSpanUI(int Hours, int Minutes)
        {
            this.Minutes = Minutes;
            this.Hours = Hours;
        }

        public TimeSpanUI()
        {
        }
    }
}